home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Collection of Tools & Utilities
/
Collection of Tools and Utilities.iso
/
menus
/
selectn.zip
/
README
< prev
next >
Wrap
Text File
|
1988-10-06
|
3KB
|
73 lines
The following files are in this archive:
BATCH FILE EXAMPLES:
MENU TXT - Main Menu Screen
MENU BAT - Main Menu Batch File.
MENU1 BAT - Key '1' Batch File.
MENU2 BAT - " 2
MENU3 BAT - " 3
MENUA BAT - " A
MENUB BAT - " B
MENUC BAT - " C
MENUX BAT - " X Exit
MMENU BAT - Secondary Menu, Input with your message.
KEYBOARD INPUT PROGRAMS:
SELECT1 COM - Key input, sets DOS error level: SELECT1 ABC123
SELECT2 COM - SELECT1 with input buffer clear option.
SELECT3 COM - SELECT1 with command line message:
SELECT3 Your message..$ABC123
SELECT4 COM - SELECT3 with input buffer clear option.
You can use the SELECTn programs as a basis for building you own
menu system. These programs set the DOS error level by looking up
a key pressed in the list of keys you provide. A look at the
file MENU.BAT should make this process clear. Note that you need
to trap the errors starting with the highest level first. Note
also that on the command line, the keys to be trapped should be
in capital letters.
The file MMENU.BAT uses SELECT3, which allows you to specify your
own prompt. You should rename the file to MENU.BAT before you use
it, as all options are keyed on that name.
SELECT1 and 3 allow you to type ahead, 2 and 4 clear the buffer
before accepting input. All of the programs convert lower case
input to upper case.
To create your own menu system, just follow the example of
MENU.BAT, and complete these steps:
1. Create a subdirectory \MENU (or any name you like),
and copy the batch files and SELECTn files to it.
2. Edit MENU.TXT to reflect the main menu screen
and options you wish to have.
3. Edit MENU.BAT, use the desired SELECTn program,
include the keys you illustrated on the menu
screen.
4. Create or edit the appropriate batch files, so they
carry out the desired commands. Be sure to end them
with the command 'MENU' so your menu will come up
as the batch file is completed.
You are welcome to use these programs free of charge. You may
also copy and distribute them, provided no money is involved. If
you like them, a contribution of $5 would be most welcome. In
any case, please send your comments to:
Rh Factor Software, (S1.0)
P.O. Box 6466
Kent, WA 98064-6466
GEnie Mail: R.Heller1